package com.five.entity;

import java.io.Serializable;
import java.util.Date;

public class TransactionRecords implements Serializable {

    private static final long serialVersionUID = -1695973853274402680L;

    private Integer transactionRecordsId;

    private Integer userId;

    private String description;

    private Integer payAmount;

    private Date tradingHours;

    public Integer getTransactionRecordsId() {
        return transactionRecordsId;
    }

    public void setTransactionRecordsId(Integer transactionRecordsId) {
        this.transactionRecordsId = transactionRecordsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Integer payAmount) {
        this.payAmount = payAmount;
    }

    public Date getTradingHours() {
        return tradingHours;
    }

    public void setTradingHours(Date tradingHours) {
        this.tradingHours = tradingHours;
    }

    @Override
    public String toString() {
        return "TransactionRecords{" +
                "transactionRecordsId=" + transactionRecordsId +
                ", userId=" + userId +
                ", description='" + description + '\'' +
                ", payAmount=" + payAmount +
                ", tradingHours=" + tradingHours +
                '}';
    }
}